#!/bin/bash
COUNT=0
# Variable i is unused
# shellcheck disable=SC2034
while read -r i j; do
	if [ "$j"  -eq 1 ]; then COUNT=$((COUNT+1)); fi
done < "$1"

test $COUNT -eq 1280
